What is the difference between JDK and JRE?
What is the difference between JDK and JRE?
595
10-Nov-2021
Updated on 10-Nov-2021
Ravi Vishwakarma
11-Nov-2021The JRE is the Java Runtime Environment. It is a package of everything necessary to run a compiled Java program, including the Java Virtual Machine (JVM), the Java Class Library, the java command, and other infrastructure.
The JDK is the Java Development Kit, the full-featured SDK for Java. It has everything the JRE has, but also the compiler (javac) and tools (like javadoc and jdb).